import {request} from "./request";
export function changeInformation(config) {
    return request({
        url: '/changeInformation',
        method: 'post',
        data: {
            config
        }
    })
}
export function changepassword(config) {
    return request({
        url: '/changepassword',
        method: 'post',
        data: {
            config
        }
    })
}
export function sendwithget(config) {
    return request({
        url: config.url,
        method: 'get',
        params: {
            data: config.data
        }
    })
}
export function sendwithpost(config) {
    return request({
        url: config.url,
        method: 'post',
        data: config.data
    })

}